body{
    margin: 0;
    background-color: #eeeeee;
}

/* 公共样式 */
*{
    box-sizing: border-box;
}
ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
a{
    text-decoration: none;
}
.center{
    width: 950px;
    margin: 0 auto;
}
.clear{
    clear: both;
}

/* 横幅 */
#banner{
    height: 200px;
    background-image: url("./imgs/banner.jpg");
    background-size: 96% 100%;
    background-repeat: no-repeat;
    background-position-x: center;
}
#banner .logo{
    width: 80px;
    vertical-align: middle;
    margin: 10px 10px 0 30px;
}
#banner .name{
    color: white;
    font-size: 25px;
    vertical-align: middle;
}

/* 导航条 */
#nav-bg{
    width: 100%;
    min-width: 950px;
    background-image: url("./imgs/nav-bg.gif");
    background-size: cover;
}
#nav-bg ul{
    border-left: 2px solid #aaa;
    border-right: 2px solid #aaa;
}
#nav-bg li{
    float: left;
}
#nav-bg a{
    display: block;
    height: 30px;
    line-height: 30px;
    padding: 0 20px;
    color: #525252;
    overflow: hidden;
}
#nav-bg img{
    height: 100%;
}
/* :not从选择到的元素中去掉哪些标签 */
#nav-bg li:not(.zdzb):hover{
    background-image: url("./imgs/hover.png");
    background-size: 100% 100%;
}
#nav-bg li:not(.zdzb):hover a{
    color: white;
}


/* 公司介绍 */
.title{
    background-image: url("./imgs/t20.gif");
    background-size: cover;
    padding: 3px 5px 3px 20px;
    color: white;
}
.more{
    float: right;
    font-size: 14px;
}
.more a{
    color: #1e5eb5;
}
.more a:hover{
    text-decoration: underline;
}
#introduce-box{
    margin: 10px auto;
    background-color: white;
}
#introduce{
    padding: 20px;
    border: 1px solid #ddd;
}
#introduce img{
    float: left;
    margin-right: 5px;
}
#introduce p{
    font-size: 14px;
    font-family: "宋体";
    margin: 2px 0;
    text-indent: 2em;
}

/* 供应产品 */
#provider-box{
    margin: 10px auto;
    background-color: white;
}
#provider{
    padding: 20px 0 20px 20px;
    border: 1px solid #ddd;
}
#provider li{
    border: 1px solid #ddd;
    width: 162px;
    height: 260px;
    padding: 5px;
    float: left;
    margin-right: 23px;
    margin-bottom: 15px;
}
#provider li img{
    margin: 30px 0 20px 0;
}
#provider .price::before{
    content: "￥";
}
#provider .price{
    color: #f50;
    margin: 5px 0;
}
#provider a{
    color: #1e5eb5;
    font-size: 12px;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
#provider a:hover{
    text-decoration: underline;
}
#provider .hun-pi{
    margin: 8px 0;
}